String Schema
FeeType Complex Type
Namespace http://string.drv.de/xmlschema/string
Diagram
Percentage Element Amount Element Nights Element Choice From Element LanguageCode Element Text Element Sequence Description Element Sequence FeeType Complex Type
Overview
Sequence
Sequence
Text xs:string
Text in the given language
LanguageCode xs:language
ISO language code: either XX or XX_yy
From DateTimeType Simple Type
Start date/time of according fee
Choice
Nights xs:int
Fee in number of nights
Amount optional CurrencyAmountType Complex Type
Fee as absolute amount
Sequence
Percentage optional xs:decimal
Fee as percentage value
Used By
Fees Element
Fees Element
Source
<xs:complexType name="FeeType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element name="Description" type="TextLanguageType" minOccurs="0" maxOccurs="unbounded" />
    <xs:element name="From" type="DateTimeType">
      <xs:annotation>
        <xs:documentation>Start date/time of according fee</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:choice>
      <xs:element name="Nights" type="xs:int" nillable="false">
        <xs:annotation>
          <xs:documentation>Fee in number of nights</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Amount" type="CurrencyAmountType" nillable="true" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Fee as absolute amount</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Percentage" type="xs:decimal" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Fee as percentage value</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:sequence>
</xs:complexType>
See Also
String Schema

 

 


© 2017 All Rights Reserved.

Send comments on this topic.